const path = require('path')
function reslove(dir) {
    return path.join(__dirname, dir)
}

module.exports = {
    publicPath: './',
    pluginOptions: {
        /**
         * 配置全局 less 样式
         * npm i sass-resources-loader vue-cli-plugin-style-resources-loader style-resources-loader --save-dev 
         */
        "style-resources-loader" : {
            preProcessor: 'less',
            patterns: [path.resolve(__dirname, "./src/assets/css/index.less")]
        }
    }
}